package cn.cs.service;

import cn.cs.common.Page;
import cn.cs.pojo.ComplaintTitle;

import java.util.List;
import java.util.Map;

public interface ComplaintTitleService {

    public ComplaintTitle getComplaintTitleById(String id) throws Exception;

    public List<ComplaintTitle> getComplaintTitleListByMap(Map<String, Object> param) throws Exception;

    public Integer getComplaintTitleCountByMap(Map<String, Object> param) throws Exception;

    public Integer addComplaintTitle(ComplaintTitle complaintTitle) throws Exception;

    public Integer modifyComplaintTitle(ComplaintTitle complaintTitle) throws Exception;

    public Integer deleteComplaintTitleById(String id) throws Exception;

    public Page<ComplaintTitle> queryComplaintTitlePageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;
}
